#ifndef MYFILEINFOSTRACT_H
#define MYFILEINFOSTRACT_H
#include <QFile>
#include <QFileSystemModel>
#include <QMainWindow>
#include <QtGui>
#include <QMap>
#include <map>
#include <stdio.h>
#include <stdlib.h>
#include "ui_mainwindow.h"
#include <QDataStream>

using namespace std;
typedef struct{
    QString file;
    QString filename;
    QString cmpozitor;
    QString name;
    QString chast;
    QString janr;
    QString sostav;
    QString primet;
    bool news;
    bool del;
} Info;


class Myfileinfostract
{
public:
    int news;
    int dels;
public: QMap<QString,Info> fifo;
    Myfileinfostract();
    void add(Info &rec);
    void sort();
};

#endif // MYFILEINFOSTRACT_H
